]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
13 years agoWindowManager: Show switcher popup for switch-to-workspace-n keybindings
Elad Alfassa [Fri, 17 May 2013 14:54:23 +0000 (17:54 +0300)]
WindowManager: Show switcher popup for switch-to-workspace-n keybindings

Currently we show the workspace popup for relative targets ("up", "down"),
but not when targetting a specific workspace directly.
There is not really a good reason for that difference, and as we are about
to introduce a new shortcut to target the last workspace (which does vary
with dynamic workspaces), it makes sense to unify the behavior and always
show the switcher.

https://bugzilla.gnome.org/show_bug.cgi?id=659288

13 years agoReplace 'enable-app-monitoring' setting
Florian Müllner [Fri, 1 Mar 2013 23:56:18 +0000 (00:56 +0100)]
Replace 'enable-app-monitoring' setting

The org.gnome.desktop.privacy schema gained a 'remember-app-usage'
key, use that instead of our own preference.

https://bugzilla.gnome.org/show_bug.cgi?id=699714

13 years agoappDisplay: Hide frequent view when app monitoring is disabled
Florian Müllner [Fri, 1 Mar 2013 23:46:34 +0000 (00:46 +0100)]
appDisplay: Hide frequent view when app monitoring is disabled

Currently we stop monitoring application usage when disabling the
'enable-app-monitoring' setting, but we still expose previously
gathered data in the app picker's frequent view. This is not what
users should expect, so hide the view in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=699714

13 years agorecorder: Use workarea to position the recording icon
Florian Müllner [Fri, 17 May 2013 18:14:26 +0000 (20:14 +0200)]
recorder: Use workarea to position the recording icon

It looks a bit unpolished to overlap our own chrome with the recording
icon, which may happen when an existing adds UI at the bottom edge.
Fix this by using the primary monitor's workarea for the position rather
than the entire monitor.

https://bugzilla.gnome.org/show_bug.cgi?id=700409

13 years agooverview: Add focusSearch() method and export it over DBus
Florian Müllner [Fri, 17 May 2013 15:31:27 +0000 (17:31 +0200)]
overview: Add focusSearch() method and export it over DBus

Some keyboard spot a dedicated search key, which gnome-settings-daemon
currently handles by spawning gnome-search-tool. It makes a lot of
sense to promote the Shell's integrated search feature instead, so
expose an appropriate DBus method g-s-d can use.

https://bugzilla.gnome.org/show_bug.cgi?id=700536

13 years agoDocument --clutter-display in the man page
Matthias Clasen [Tue, 14 May 2013 20:20:43 +0000 (16:20 -0400)]
Document --clutter-display in the man page

This is the sole option that was missing from the
man page.

https://bugzilla.gnome.org/show_bug.cgi?id=700339

13 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Thu, 16 May 2013 11:27:26 +0000 (13:27 +0200)]
Updated Norwegian bokmål translation

13 years agowindowManager: Enable switch-to-workspace-n keybindings in overview
Florian Müllner [Wed, 15 May 2013 21:47:54 +0000 (23:47 +0200)]
windowManager: Enable switch-to-workspace-n keybindings in overview

Those keybindings are unassigned by default, but that's not a valid
reason they shouldn't work like the related switch-up/down bindings.

https://bugzilla.gnome.org/show_bug.cgi?id=649977

13 years agonetwork: Fix stupid typo
Florian Müllner [Wed, 15 May 2013 15:40:49 +0000 (17:40 +0200)]
network: Fix stupid typo

There is no ACTIVE state in NetworkManager.ActionConnectionState,
it's ACTIVATED.

https://bugzilla.gnome.org/show_bug.cgi?id=700394

13 years agonetwork: Use accessPointAdded to add initial access points
Jasper St. Pierre [Mon, 29 Apr 2013 16:28:02 +0000 (12:28 -0400)]
network: Use accessPointAdded to add initial access points

This is technically a smidge slower due to the constant bisect insert,
but since this should only happen when we make a Wi-Fi dialog, it's
insignificant.

https://bugzilla.gnome.org/show_bug.cgi?id=700322

13 years agonetwork: Don't pass this._connections to the VPN section
Jasper St. Pierre [Mon, 29 Apr 2013 17:12:14 +0000 (13:12 -0400)]
network: Don't pass this._connections to the VPN section

It's always empty by this point.

https://bugzilla.gnome.org/show_bug.cgi?id=700322

13 years agonetwork: Use checkConnection to set up the initial connections
Jasper St. Pierre [Fri, 26 Apr 2013 22:47:22 +0000 (18:47 -0400)]
network: Use checkConnection to set up the initial connections

https://bugzilla.gnome.org/show_bug.cgi?id=700322

13 years agonetwork: Remove an unused getter
Jasper St. Pierre [Fri, 26 Apr 2013 22:53:48 +0000 (18:53 -0400)]
network: Remove an unused getter

https://bugzilla.gnome.org/show_bug.cgi?id=700322

13 years agonetwork: Remove semi-complex primary device finding
Jasper St. Pierre [Mon, 29 Apr 2013 17:09:01 +0000 (13:09 -0400)]
network: Remove semi-complex primary device finding

According to dcbw (and some updated documentation), there will
always be a 1:1 correspondence between NMActiveConnection and
an NMDevice.

https://bugzilla.gnome.org/show_bug.cgi?id=700322

13 years agoaltTab: Always activate MRU window when activating an app
Florian Müllner [Wed, 15 May 2013 06:37:12 +0000 (08:37 +0200)]
altTab: Always activate MRU window when activating an app

Commit 2499f2ed80 went back to using shell_app_activate() for
selecting an app, which favors windows on the current workspace;
this is the behavior we want for instance when activating a
launcher, but it's wrong for the alt-tab list - explicitly
request the first (e.g. MRU) window in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=700356

13 years agoAdd a way to get backtraces from criticals and warnings
Giovanni Campagna [Wed, 28 Nov 2012 18:45:52 +0000 (19:45 +0100)]
Add a way to get backtraces from criticals and warnings

Attaching gdb and running with G_DEBUG=fatal-warnings is not a very
fast to debug a specific issue (especially if you have warnings at
startup, since then you need to run the shell from a terminal).
Instead, introduce a new SHELL_DEBUG environment variable that can
be set to backtrace-warning, causing a gjs_dumpstack() after every
warning or critical.

https://bugzilla.gnome.org/show_bug.cgi?id=700262

13 years agopopupMenu: Fix regular submenus
Jasper St. Pierre [Tue, 14 May 2013 17:58:10 +0000 (13:58 -0400)]
popupMenu: Fix regular submenus

This method was originally private, but it was renamed quickly
before landing, and I forgot to update it.

13 years agoPopupMenuManager: Fix child menus
Florian Müllner [Tue, 14 May 2013 16:55:08 +0000 (18:55 +0200)]
PopupMenuManager: Fix child menus

Since commit c84dc6254d2d65c, popup menus are closed automatically
when another menu opens (to catch the case where a menu is opened
by keyboard shortcut, which wasn't handled before). However in the
case of child menus, both child and parent are expected to be visible,
so handle this case explicitly.

https://bugzilla.gnome.org/show_bug.cgi?id=699678

13 years agovolume: Adjust to icon name changes
Florian Müllner [Tue, 14 May 2013 12:27:33 +0000 (14:27 +0200)]
volume: Adjust to icon name changes

The headphone icon gained an audio- prefix, use that instead of
the old name.

13 years agoFix build one more time
Jasper St. Pierre [Mon, 13 May 2013 22:38:35 +0000 (18:38 -0400)]
Fix build one more time

Third time's the charm.

13 years agoFix build on certain systems
Jasper St. Pierre [Mon, 13 May 2013 22:36:36 +0000 (18:36 -0400)]
Fix build on certain systems

The SCANNERFLAGS were wrong here.

13 years agoremoteMenu: Minor code cleanups
Jasper St. Pierre [Fri, 10 May 2013 15:17:16 +0000 (11:17 -0400)]
remoteMenu: Minor code cleanups

https://bugzilla.gnome.org/show_bug.cgi?id=700257

13 years agoremoteMenu: Add support for the submenu show requests
Jasper St. Pierre [Fri, 10 May 2013 18:32:58 +0000 (14:32 -0400)]
remoteMenu: Add support for the submenu show requests

This lets clients defer submenus showing until their submenu model
is ready.

https://bugzilla.gnome.org/show_bug.cgi?id=700257

13 years agoremoteMenu: Add support for submenu items
Jasper St. Pierre [Fri, 10 May 2013 17:39:21 +0000 (13:39 -0400)]
remoteMenu: Add support for submenu items

Wrap new GtkMenuTracker API that adds an easy way to bind to
tracker items, and use it to add back support for submenus.
This also adds support for a submenu feature that we didn't
have support for before, action namespaces.

https://bugzilla.gnome.org/show_bug.cgi?id=700257

13 years agoremoteMenu: Split the tracking code out of RemoteMenu
Jasper St. Pierre [Thu, 9 May 2013 21:32:52 +0000 (17:32 -0400)]
remoteMenu: Split the tracking code out of RemoteMenu

The tracking logic will be used to more easily implement submenus.

https://bugzilla.gnome.org/show_bug.cgi?id=700257

13 years agoremoteMenu: Allow separator items to have labels
Jasper St. Pierre [Wed, 24 Apr 2013 20:21:57 +0000 (16:21 -0400)]
remoteMenu: Allow separator items to have labels

This fixes a regression with remote menus where sections have
labels, like gnome-documents.

https://bugzilla.gnome.org/show_bug.cgi?id=700257

13 years agoremoteMenu: Add support for extended accessibility roles
Jasper St. Pierre [Thu, 9 May 2013 20:24:40 +0000 (16:24 -0400)]
remoteMenu: Add support for extended accessibility roles

https://bugzilla.gnome.org/show_bug.cgi?id=700257

13 years agoremoteMenu: Port to GtkMenuTrackerItem
Jasper St. Pierre [Thu, 9 May 2013 16:28:44 +0000 (12:28 -0400)]
remoteMenu: Port to GtkMenuTrackerItem

This pulls in new upstream API that Ryan will maintain, removing
code on our side.

Currently, our implementation of submenus will be gone, but this
will be fixed in a few commits.

https://bugzilla.gnome.org/show_bug.cgi?id=700257

13 years agopopupMenu: Split the remote menu code into its own module
Jasper St. Pierre [Thu, 9 May 2013 21:35:57 +0000 (17:35 -0400)]
popupMenu: Split the remote menu code into its own module

This is getting sufficiently complicated to deserve its own place.

https://bugzilla.gnome.org/show_bug.cgi?id=700257

13 years agoAdd a separate ShellMenu GIR file for introspecting the copy/paste code
Jasper St. Pierre [Thu, 9 May 2013 19:14:52 +0000 (15:14 -0400)]
Add a separate ShellMenu GIR file for introspecting the copy/paste code

We'll need some of these pieces to be introspectable when we port to
GtkMenuTrackerItem. Due to technical limitations in introspection, we
can't put Gtk-prefixed items in the shell namespace, so add them to
a new introspection library instead.

https://bugzilla.gnome.org/show_bug.cgi?id=700257

13 years agogtkactionmuxer: Reintroduce the passing of event timestamps
Jasper St. Pierre [Thu, 9 May 2013 19:10:29 +0000 (15:10 -0400)]
gtkactionmuxer: Reintroduce the passing of event timestamps

This is a hack we have in our local fork as compared to upstream;
work on a generic "hook" system in here is ongoing, but until then,
this is the easiest way to do it.

https://bugzilla.gnome.org/show_bug.cgi?id=700257

13 years agoUpdate copy/paste code from upstream
Jasper St. Pierre [Thu, 9 May 2013 19:00:40 +0000 (15:00 -0400)]
Update copy/paste code from upstream

This includes a rename from the G* namespace to the Gtk* one, which
will help us with introspecting this code. Note that this removes
some of the custom code we added to GActionMuxer to relay event times
to the remote action group. We'll add this back soon.

https://bugzilla.gnome.org/show_bug.cgi?id=700257

13 years agoMessageTray: fix typo
Giovanni Campagna [Mon, 13 May 2013 21:38:23 +0000 (23:38 +0200)]
MessageTray: fix typo

13 years agopolkitAgent: Allow retrying mistyped passwords
Stef Walter [Wed, 17 Apr 2013 09:05:36 +0000 (11:05 +0200)]
polkitAgent: Allow retrying mistyped passwords

Don't hide the polkit agent window when someone mistypes their password.
Allow them to try again. The user can cancel at any point.

https://bugzilla.gnome.org/show_bug.cgi?id=684431

13 years agoappDisplay: Implement folder keynav and shortcuts
Florian Müllner [Wed, 6 Mar 2013 20:42:36 +0000 (21:42 +0100)]
appDisplay: Implement folder keynav and shortcuts

When opening an application folder, it should take key focus to
allow for keynav; also, Escape closing both folder and app picker
is unexpected, it should only close the popup.

https://bugzilla.gnome.org/show_bug.cgi?id=695314

13 years agoMessageTray: don't list the sources all the time
Giovanni Campagna [Sun, 12 May 2013 18:13:43 +0000 (20:13 +0200)]
MessageTray: don't list the sources all the time

The point of a hash table is that you don't need to list all the
elements. To avoid that, keep a "clearableCount" in MessageTray,
which can be used by the message tray menu to show and hide the
clear item, and that is updated in constant time when sources
are added or removed.

https://bugzilla.gnome.org/show_bug.cgi?id=700194

13 years agoHash: make .size() constant time
Giovanni Campagna [Sun, 12 May 2013 18:13:08 +0000 (20:13 +0200)]
Hash: make .size() constant time

MessageTray calls .size() very often to update the no messages label,
so a linear time implementation is not good enough.

https://bugzilla.gnome.org/show_bug.cgi?id=700194

13 years agoapp-system: Remove last real use of shell_app_get_tree_entry
Jasper St. Pierre [Sat, 9 Feb 2013 03:46:31 +0000 (22:46 -0500)]
app-system: Remove last real use of shell_app_get_tree_entry

We want to replace our GMenuTreeEntries with GDesktopAppInfos

https://bugzilla.gnome.org/show_bug.cgi?id=698486

13 years agoapp-system: Use g_hash_table_iter_remove
Jasper St. Pierre [Sat, 16 Mar 2013 20:50:16 +0000 (16:50 -0400)]
app-system: Use g_hash_table_iter_remove

glib now provides an iteration-safe way to remove items from
the hash table, so use it instead of building a separate list.

https://bugzilla.gnome.org/show_bug.cgi?id=698486

13 years agoapp-system: Kill an unused warning
Jasper St. Pierre [Sat, 20 Apr 2013 22:53:13 +0000 (18:53 -0400)]
app-system: Kill an unused warning

https://bugzilla.gnome.org/show_bug.cgi?id=698486

13 years agooverview: Don't allow exiting the overview if we have a DND drag
Jasper St. Pierre [Wed, 27 Mar 2013 17:31:43 +0000 (13:31 -0400)]
overview: Don't allow exiting the overview if we have a DND drag

Otherwise, people can drag app icons or window thumbnails out of
the overview, and it just looks weird.

https://bugzilla.gnome.org/show_bug.cgi?id=698484

13 years agoMessageTray: actually respect other components acking notifications
Giovanni Campagna [Sun, 12 May 2013 17:52:58 +0000 (19:52 +0200)]
MessageTray: actually respect other components acking notifications

If a notification is marked acknowledged from outside, filter it
out from the queue.

https://bugzilla.gnome.org/show_bug.cgi?id=698812

13 years agoScreenShield: mark music notifications as acknowledged immediately
Giovanni Campagna [Sun, 12 May 2013 17:42:49 +0000 (19:42 +0200)]
ScreenShield: mark music notifications as acknowledged immediately

After all, the user is seeing it (or will see them before unlocking),
so there is no point in queing them as banners.

https://bugzilla.gnome.org/show_bug.cgi?id=698812

13 years agoScreenShield: clear the lock screen early when deactivating
Giovanni Campagna [Sun, 12 May 2013 17:41:21 +0000 (19:41 +0200)]
ScreenShield: clear the lock screen early when deactivating

Upon popMode, MessageTray will try readding all notifications
to their rightful parent, so we must tell NotificationBox to
relinquish them before st_bin_set_child() fails (leaving a dangling
child pointer and crashing at the next allocation)

https://bugzilla.gnome.org/show_bug.cgi?id=698812

13 years agodata: Fix typo in Screencast docs
Florian Müllner [Fri, 10 May 2013 21:40:12 +0000 (23:40 +0200)]
data: Fix typo in Screencast docs

13 years agoExpose screencast functionality via DBus
Florian Müllner [Mon, 6 May 2013 16:50:31 +0000 (18:50 +0200)]
Expose screencast functionality via DBus

Like screenshots, the screen recorder can be a useful tool in other cases
than being triggered by a keyboard shortcut. To account for that, export
a Screencast DBus API similar to the existing Screenshot interface.

https://bugzilla.gnome.org/show_bug.cgi?id=696247

13 years agosessionMode: Add 'allowScreencast' property
Florian Müllner [Wed, 8 May 2013 18:25:34 +0000 (20:25 +0200)]
sessionMode: Add 'allowScreencast' property

Our built-in screen recorder is implemented as a component, so it will
just be disabled when the session mode doesn't allow screencasting.
However we will expose screencasting functionality on DBus as well, and
while it makes sense to restrict its availablity to the same modes as
the existing recorder, exporting/unexporting the service depending on
the session mode is not very consumer friendly.
For that reason, add an additional 'allowScreencast' property that for now
mirrors the availability of the 'recorder' component.

https://bugzilla.gnome.org/show_bug.cgi?id=696247

13 years agoshell-recorder: Make drawing the cursor optional
Florian Müllner [Wed, 8 May 2013 17:52:16 +0000 (19:52 +0200)]
shell-recorder: Make drawing the cursor optional

As with screenshots, showing the cursor in a recording may not be
desirable, so add a property to control whether the cursor is drawn
or not.

https://bugzilla.gnome.org/show_bug.cgi?id=696247

13 years agoshell-recorder: Support specifying the recorded area
Florian Müllner [Wed, 8 May 2013 17:24:19 +0000 (19:24 +0200)]
shell-recorder: Support specifying the recorded area

Currently we will always record the entire screen. It has been requested
to support recording a specified area analogous to the screenshot API as
well, so add a set_area() method which allows this.

https://bugzilla.gnome.org/show_bug.cgi?id=696247

13 years agoshell-recorder: Optionally return the filename of the recording
Florian Müllner [Mon, 6 May 2013 22:11:57 +0000 (00:11 +0200)]
shell-recorder: Optionally return the filename of the recording

It is currently not always possible to predict the actual output filename
of a recording - the file-template does not necessarily use an absolute
path and may contain %d and %t escape sequences.
This is OK for fire-and-forget uses like the existing keyboard shortcut,
but we will soon expose the functionality on DBus and consumers of that
API might very well need to access the file after the recording. So do
the same as our screenshot API and add an optional (out) parameter to
record().

https://bugzilla.gnome.org/show_bug.cgi?id=696247

13 years agomain: Always pass a default stylesheet when constructing the theme
Florian Müllner [Fri, 10 May 2013 14:00:20 +0000 (16:00 +0200)]
main: Always pass a default stylesheet when constructing the theme

There is not always a clear distinction between code and style,
which is why the interface ends up being mostly unusable when we
end up without *any* style, for instance because the specified
application-stylesheet is corrupt.
Setting the default stylesheet in addition to the application-stylesheet
is no guarantee for non-default themes not messing up the interface, but
it should at least lower the risk ...

https://bugzilla.gnome.org/show_bug.cgi?id=700097

13 years agoshellEntry: Set the input-purpose property for password entries
Rui Matos [Fri, 10 May 2013 01:35:05 +0000 (03:35 +0200)]
shellEntry: Set the input-purpose property for password entries

This way input methods can disable themselves automatically for
entries holding passwords.

https://bugzilla.gnome.org/show_bug.cgi?id=700043

13 years agost-entry: add input purpose and hints
Daiki Ueno [Wed, 9 Jan 2013 09:00:52 +0000 (18:00 +0900)]
st-entry: add input purpose and hints

Add input-purpose and input-hints properties to StEntry,
and pass these on to StIMText.

https://bugzilla.gnome.org/show_bug.cgi?id=691392

13 years agost-im-text: add input purpose and hints
Daiki Ueno [Wed, 9 Jan 2013 08:27:20 +0000 (17:27 +0900)]
st-im-text: add input purpose and hints

Add input-purpose and input-hints properties to StIMText,
and pass these on to GtkIMContext.

https://bugzilla.gnome.org/show_bug.cgi?id=691392

13 years agost-im-text: remove undefined st_im_text_set_autoshow_im decl
Daiki Ueno [Wed, 9 Jan 2013 07:00:06 +0000 (16:00 +0900)]
st-im-text: remove undefined st_im_text_set_autoshow_im decl

https://bugzilla.gnome.org/show_bug.cgi?id=691392

13 years agoworkspace: Only show the close buttons for windows that can close
Jasper St. Pierre [Fri, 26 Apr 2013 15:32:40 +0000 (11:32 -0400)]
workspace: Only show the close buttons for windows that can close

https://bugzilla.gnome.org/show_bug.cgi?id=699269

13 years agoDon't put non-Shell windows in Ctrl+Alt+Tab if they wouldn't be visible
Simon McVittie [Tue, 7 May 2013 18:25:06 +0000 (19:25 +0100)]
Don't put non-Shell windows in Ctrl+Alt+Tab if they wouldn't be visible

Metacity's Ctrl+Alt+Tab would include X11 windows
with hints like GDK_WINDOW_TYPE_HINT_DOCK and
GDK_WINDOW_TYPE_HINT_DESKTOP (there are more conditions, but that's a
good start). If we're in normal mode, those are visible and it's OK
to display those in the Ctrl+Alt+Tab order, but if we're in the lock
screen or the unlock dialog, they're not visible and it doesn't make
sense to focus them.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=699862
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Florian Müllner <fmuellner@gnome.org>
13 years agomodalDialog: Show spinner when working
Stef Walter [Thu, 9 May 2013 04:41:07 +0000 (06:41 +0200)]
modalDialog: Show spinner when working

Use the same UI concept from the login screen to show spinners when
the polkit or keyring dialogs are working

https://bugzilla.gnome.org/show_bug.cgi?id=684438

13 years agoRemove simple uses of ClutterRectangle
Jasper St. Pierre [Thu, 9 May 2013 01:53:20 +0000 (21:53 -0400)]
Remove simple uses of ClutterRectangle

https://bugzilla.gnome.org/show_bug.cgi?id=699975

13 years agodnd: Clean up construction
Jasper St. Pierre [Mon, 25 Feb 2013 20:00:28 +0000 (15:00 -0500)]
dnd: Clean up construction

https://bugzilla.gnome.org/show_bug.cgi?id=699975

13 years agolookingGlass: Remove a useless container
Jasper St. Pierre [Mon, 25 Feb 2013 19:56:46 +0000 (14:56 -0500)]
lookingGlass: Remove a useless container

https://bugzilla.gnome.org/show_bug.cgi?id=699975

13 years agolookingGlass: Remove an unused separator between results
Jasper St. Pierre [Mon, 25 Feb 2013 19:53:50 +0000 (14:53 -0500)]
lookingGlass: Remove an unused separator between results

At one time, this may have had styling, but it's not there now,
and I don't see a reason to add it back.

https://bugzilla.gnome.org/show_bug.cgi?id=699975

13 years agocomponents: Allow cancelling of dialog between prompts
Stef Walter [Tue, 25 Sep 2012 19:53:36 +0000 (21:53 +0200)]
components: Allow cancelling of dialog between prompts

Some callers of the keyring prompt keep the dialog up while
processing the prompt. Allow the user to cancel the prompt
while in this state.

This is propagated to the caller, who can cancel the operation
in question when this occurs.

https://bugzilla.gnome.org/show_bug.cgi?id=682830

13 years agoUpdate libgvc
Jasper St. Pierre [Thu, 9 May 2013 01:59:41 +0000 (21:59 -0400)]
Update libgvc

13 years agonetwork: don't use active connections that are in invalid states
Giovanni Campagna [Wed, 8 May 2013 21:54:32 +0000 (23:54 +0200)]
network: don't use active connections that are in invalid states

Only ACTIVE or ACTIVATING connections are important when deciding
what icon to show, don't fallback on any, possibly invalid or deactivating,
active connection object.

https://bugzilla.gnome.org/show_bug.cgi?id=676285

13 years agokeyring: Fix button disabled when prompting for confirmation
Stef Walter [Wed, 17 Apr 2013 10:02:12 +0000 (12:02 +0200)]
keyring: Fix button disabled when prompting for confirmation

https://bugzilla.gnome.org/show_bug.cgi?id=696304

13 years agost-shadow: Fix offset shadow offscreen rendering
Lionel Landwerlin [Tue, 7 May 2013 22:35:27 +0000 (23:35 +0100)]
st-shadow: Fix offset shadow offscreen rendering

The shadows are currently rendered by painting the actor we want to
apply shadow on, in an offscreen buffer. The problem is that when this
actor has an allocation padding (ie allocation that isn't at 0x0
relatively to its parent), this padding is added within the offscreen
buffer and as a result the shadow rendering is truncated because the
offscreen buffer size is the size of the allocation box, not the
allocation box + padding.

This patch reposition the actor at 0x0 with rendering it by changing
the initial transformation matrix when rendering the actor offscreen.

https://bugzilla.gnome.org/show_bug.cgi?id=698301

13 years agologinDialog: Adjust logoBin to modalDialog changes
Florian Müllner [Tue, 7 May 2013 20:22:14 +0000 (22:22 +0200)]
loginDialog: Adjust logoBin to modalDialog changes

With modalDialogs' backgroundStack using a BinLayout now, we need
to set approriate expand flags on the iconBin.

https://bugzilla.gnome.org/show_bug.cgi?id=699877

13 years agomodalDialog: Replace Shell.Stack with layout manager
Florian Müllner [Tue, 7 May 2013 20:11:42 +0000 (22:11 +0200)]
modalDialog: Replace Shell.Stack with layout manager

Commit e98eb57e3e8b added flags to expand the dialog's background
stack, which works fine with the current clutter-1.16 branch, but
breaks on clutter-1.14 (as shipped with GNOME 3.8).
Using an St.Widget with a Clutter.BinLayout fixes this, and is more
modern Clutter usage.

https://bugzilla.gnome.org/show_bug.cgi?id=699877

13 years agoosdWindow: Allow popup to grow if necessary
Marta Milakovic [Tue, 7 May 2013 18:37:58 +0000 (20:37 +0200)]
osdWindow: Allow popup to grow if necessary

The popup currently has a fixed size based on monitor size. As a result,
the popup's content may overflow if its minimum size is larger than the
popup size. To prevent this, use min-width/min-height for the popup size
so that the popup can grow if necessary.

https://bugzilla.gnome.org/show_bug.cgi?id=696523

13 years agologinDialog: Remove logo in upper left corner
Florian Müllner [Sat, 23 Mar 2013 00:29:23 +0000 (01:29 +0100)]
loginDialog: Remove logo in upper left corner

With optional branding now being shown below the user list, we can
remove the unloved instance in the upper left corner ...

https://bugzilla.gnome.org/show_bug.cgi?id=694912

13 years agologinDialog: (Optionally) show logo below user list
Florian Müllner [Sat, 23 Mar 2013 00:27:22 +0000 (01:27 +0100)]
loginDialog: (Optionally) show logo below user list

The optional logo on the login screen is currently shown in the
top bar, which is not only a rather unprominent position, it also
gives the wrong suggestion of a clickable element.
Newer designs call for the logo to be shown horizontally centered
at the bottom of the screen, so implement that instead.

https://bugzilla.gnome.org/show_bug.cgi?id=694912

13 years agomodalDialog: Always use a stack for the background
Florian Müllner [Fri, 22 Mar 2013 23:39:05 +0000 (00:39 +0100)]
modalDialog: Always use a stack for the background

Currently a system modal dialog's actor hierarchy depends on whether
events should be blocked while the dialog is shown or not. Change
it to always contain a stack, to allow subclasses to add additional
background elements.

https://bugzilla.gnome.org/show_bug.cgi?id=694912

13 years agoshell-js: Adapt to new gjs interface
Jasper St. Pierre [Tue, 7 May 2013 18:35:27 +0000 (14:35 -0400)]
shell-js: Adapt to new gjs interface

13 years agosessionMode: Remove initial-setup mode
Jasper St. Pierre [Wed, 17 Apr 2013 19:07:24 +0000 (15:07 -0400)]
sessionMode: Remove initial-setup mode

Now that we have external session modes, we can simply
make gnome-initial-setup bundle its own mode.

13 years agost-bin: Delegate popup-menu signal to child if we have one
Jasper St. Pierre [Tue, 7 May 2013 06:28:13 +0000 (02:28 -0400)]
st-bin: Delegate popup-menu signal to child if we have one

This makes it much easier to implement correct popup-menu behavior
in the case of nested bins.

This fixes the context menu key in application search results when a
result has focus.

https://bugzilla.gnome.org/show_bug.cgi?id=699800

13 years agost-theme-node: Make sure that two NULL paint states are not equal
Jasper St. Pierre [Tue, 7 May 2013 06:51:02 +0000 (02:51 -0400)]
st-theme-node: Make sure that two NULL paint states are not equal

The comment clearly intended that for this to be the case, but a typo
prevented this from actually being done. This fixes the focused state
of the search field not working more than once.

https://bugzilla.gnome.org/show_bug.cgi?id=699799

13 years agodateMenu: do not show "Open Calendar" button with no installed calendar application
Lionel Landwerlin [Wed, 10 Apr 2013 14:29:01 +0000 (15:29 +0100)]
dateMenu: do not show "Open Calendar" button with no installed calendar application

https://bugzilla.gnome.org/show_bug.cgi?id=697725

13 years agopanelMenu: Attempt to navigate menus only if we can't navigate inside the menu
Tanner Doshier [Sat, 4 May 2013 01:33:05 +0000 (20:33 -0500)]
panelMenu: Attempt to navigate menus only if we can't navigate inside the menu

This enables key navigation in the calendar.

https://bugzilla.gnome.org/show_bug.cgi?id=667434

13 years agofocus-manager: Add navigate_from_event method
Tanner Doshier [Sat, 4 May 2013 01:31:51 +0000 (20:31 -0500)]
focus-manager: Add navigate_from_event method

This will be used to implement key navigation inside the calendar without
having to listen to key events manually.

https://bugzilla.gnome.org/show_bug.cgi?id=667434

13 years agocalendar: Ensure clicked calendar item retains key focus
Tanner Doshier [Tue, 30 Apr 2013 22:32:43 +0000 (17:32 -0500)]
calendar: Ensure clicked calendar item retains key focus

The date actors get destroyed and recreated on every date change which drops
key focus for the selected date. Restore key focus in such a case, but only
when the selected date was actually clicked. Whenever the next/prev month
buttons code is used (for scrolling, mouse click, or keyboard click), have
the corresponding button grab focus. Changing months currently causes the
calendar to update twice as the eventSource gets changed, so key focus gets
lost if it is on a date when the month changes.

https://bugzilla.gnome.org/show_bug.cgi?id=667434

13 years agotheme: Add focus styles for the calendar menu
Tanner Doshier [Sat, 16 Mar 2013 21:33:59 +0000 (16:33 -0500)]
theme: Add focus styles for the calendar menu

https://bugzilla.gnome.org/show_bug.cgi?id=667434

13 years agodateMenu: Don't override accessible_role inherited from PanelMenu.Button
Tanner Doshier [Sat, 16 Mar 2013 21:34:58 +0000 (16:34 -0500)]
dateMenu: Don't override accessible_role inherited from PanelMenu.Button

The menu is keyboard navigable now, so allow it to be advertised as such.

https://bugzilla.gnome.org/show_bug.cgi?id=667434

13 years agocalendar, dateMenu: Allow focus on menu items
Tanner Doshier [Thu, 14 Mar 2013 15:30:38 +0000 (10:30 -0500)]
calendar, dateMenu: Allow focus on menu items

https://bugzilla.gnome.org/show_bug.cgi?id=667434

13 years agogdm: Fix regression where domain login hint not shown
Stef Walter [Fri, 19 Apr 2013 07:07:04 +0000 (09:07 +0200)]
gdm: Fix regression where domain login hint not shown

Also only keep around realmd while we're actually using it, allow it
to quit if no other clients are active.

https://bugzilla.gnome.org/show_bug.cgi?id=698200

13 years agost-theme-node: Add a to_string function for debugging purposes
Jasper St. Pierre [Fri, 5 Apr 2013 01:43:42 +0000 (21:43 -0400)]
st-theme-node: Add a to_string function for debugging purposes

https://bugzilla.gnome.org/show_bug.cgi?id=697274

13 years agost-widget: Cache two paint states
Jasper St. Pierre [Fri, 5 Apr 2013 03:06:29 +0000 (23:06 -0400)]
st-widget: Cache two paint states

In most cases, we'll transition between two states on hover / focus.
Instead of recalculating and repainting our resources on state change,
simply cache the last state when we transition.

https://bugzilla.gnome.org/show_bug.cgi?id=697274

13 years agoRevert "screenshield: Remove box-shadow"
Jasper St. Pierre [Sat, 20 Apr 2013 14:25:44 +0000 (10:25 -0400)]
Revert "screenshield: Remove box-shadow"

This reverts commit 98e74dfd38bd44154e002000ed46be4ed622173d.

https://bugzilla.gnome.org/show_bug.cgi?id=697274

13 years agost-theme-node: Move some allocation-independent textures back to the theme node
Jasper St. Pierre [Fri, 5 Apr 2013 01:22:34 +0000 (21:22 -0400)]
st-theme-node: Move some allocation-independent textures back to the theme node

The background image, background image shadow and border image are
allocation-indepedent, so we can keep these in the node. Given that these are
are likely cached in the StTextureCache, the slight increase in code complexity
may not be worth caching these textures and materials -- we might be better off
just computing when we need to paint.

https://bugzilla.gnome.org/show_bug.cgi?id=697274

13 years agost: Move the theme node drawing state to StWidget
Jasper St. Pierre [Fri, 5 Apr 2013 00:29:59 +0000 (20:29 -0400)]
st: Move the theme node drawing state to StWidget

This ensures that two widgets sharing the same theme node won't trample
on each other's prerendered materials if the actors are of different
sizes. This also tries to be very careful to share as much as possible
during a transition.

This has the side effect that if a widget changes state a bunch of times,
we won't cache every state. Since we expect that state changes are
infrequent and that most cases we'll be able to use the texture cache
to do most of the heavy lifting, this cost is much more insignificant
than rendering a number of different actors with the same theme node
and different sizes.

https://bugzilla.gnome.org/show_bug.cgi?id=697274

13 years agost-theme-node-drawing: Move most of the cached paint state to another struct
Jasper St. Pierre [Thu, 4 Apr 2013 23:47:28 +0000 (19:47 -0400)]
st-theme-node-drawing: Move most of the cached paint state to another struct

Since we now share theme nodes between, we shouldn't cache the paint state
across all nodes. As a first step towards putting this in the actor, split
out the state into another structure. Keep it in the theme node for now
so that we don't make too many changes in one commit.

It's possible that some of these pieces of drawing state could be shared
between theme nodes. For the sake of simplicity, assume that none of them
are shared or should be shared. A future commit could identify those that
could be shared and move them back into the theme node.

https://bugzilla.gnome.org/show_bug.cgi?id=697274

13 years agost-theme-node-drawing: Depend less on the paint state in some helper functions
Jasper St. Pierre [Thu, 4 Apr 2013 23:09:02 +0000 (19:09 -0400)]
st-theme-node-drawing: Depend less on the paint state in some helper functions

We want to put the paint state in the actor rather than in the theme
node, as having two actors with different sizes but the same theme node
is now much less efficient.

https://bugzilla.gnome.org/show_bug.cgi?id=697274

13 years agoctrlAltTab: Use a symbolic icon for desktop windows
Matthias Clasen [Thu, 18 Apr 2013 04:20:45 +0000 (00:20 -0400)]
ctrlAltTab: Use a symbolic icon for desktop windows

The nautilus icon sticks out pretty badly among the symbolic
icons we use for other desktop components. This commit finds
windows of type DESKTOP, and uses the video-display-symbolic
icon for them.
https://bugzilla.gnome.org/show_bug.cgi?id=697914

13 years agost-icon: check if gicon is null before unref.
Alban Browaeys [Thu, 25 Apr 2013 16:25:12 +0000 (18:25 +0200)]
st-icon: check if gicon is null before unref.

Commit a6b49fe7d6c9bcd8a2be47a0b0b44cf9a53a45aa
introduced a check for equality of priv->gicon vs gicon
and unref then return early if so. But if both are null,
we should not unref gicon. Only return.

https://bugzilla.gnome.org/show_bug.cgi?id=698863

13 years agoUpdated Slovenian translation
Matej Urbančič [Wed, 1 May 2013 18:34:15 +0000 (20:34 +0200)]
Updated Slovenian translation

13 years agoBump version to 3.9.1
Florian Müllner [Tue, 30 Apr 2013 21:58:35 +0000 (23:58 +0200)]
Bump version to 3.9.1

Update NEWS.

13 years agoOnly recognize common url schemes in notification messages
Monica Chelliah [Sun, 14 Apr 2013 20:15:04 +0000 (16:15 -0400)]
Only recognize common url schemes in notification messages

Before the fix, the message tray highlighted all urls containing "://", even
invalid ones. This change fixes this by have the message tray highlight only
the urls with http, https, ftp schemes.

Credit goes to: Phuong Vu, Liye Fu, Monica Chelliah, Owen Taylor

https://bugzilla.gnome.org/show_bug.cgi?id=661225

13 years agoRemove LayoutManager::fullscreen-changed
Owen W. Taylor [Mon, 18 Mar 2013 19:02:05 +0000 (15:02 -0400)]
Remove LayoutManager::fullscreen-changed

Since we now have global.screen::in-fullscreen-changed, remove the
duplicate signal. To prevent ordering problems in connecting to
this signal, make inFullscreen a property-function of a new Monitor
object rather than a data property we tack on to a Rectangle object.

https://bugzilla.gnome.org/show_bug.cgi?id=649748

13 years agoStIcon: use g_signal_connect_object() for safety
Giovanni Campagna [Wed, 27 Mar 2013 16:54:41 +0000 (17:54 +0100)]
StIcon: use g_signal_connect_object() for safety

Prevent a crash in case an icon is destroyed before the texture
finishes loading, and something else is keeping the texture alive
for any reason.

https://bugzilla.gnome.org/show_bug.cgi?id=696720

13 years agoUpdated Lithuanian translation
Žygimantas Beručka [Sun, 28 Apr 2013 10:36:38 +0000 (13:36 +0300)]
Updated Lithuanian translation